package com.ss.spider.system.role.mapper;

import com.ss.mapper.CWMapper;
import com.ss.spider.system.role.model.Role;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface RoleMapper extends CWMapper<Role> {

    List<Role> gets(Map<String, Object> paramMap);

    List<Role> list(Role paramRole);

    List<Role> pages(Role paramRole);

    int save(Role paramRole);

    int update(Role paramRole);

    int remove(Map<String, Object> paramMap);

    int discard(Map<String, Object> paramMap);

}
